package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 商家核销记录表
 *
 * @author 16693103420
 * @since 2024-01-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_verification_record")
public class VerificationRecordModel implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//商家核销表ID
    private String activityName;//活动名称
    private String orderId;//订单编号
    private Integer userId;//用户ID
    private Integer businessId;//订单编号
    private Double contributeIntegral;//贡献积分
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;

    private BigDecimal payAmount;

}
